import { createRoot } from 'react-dom/client';
import './index.css';
import { init } from '@/libs/fesdk/sdkcli.ts';
import { RouterProvider } from 'react-router-dom';
import router from './router.tsx';

const main = async () => {
  await init();
  createRoot(document.getElementById('root')!).render(
    <RouterProvider router={router} />
  );
};
main();
